package edu.zut.cs.software.example.clazz.service.impl;



import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.javaee.dream.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.example.clazz.dao.ClazzDao;
import edu.zut.cs.software.example.clazz.domain.Clazz;
import edu.zut.cs.software.example.clazz.service.ClazzManager;


/**
 * 
 * @author 42276
 *
 */
@Service(value="clazzManager")
@Transactional
public class ClazzManagerImpl extends GenericManagerImpl<Clazz, Long> implements ClazzManager {

	ClazzDao clazzDao;

	
	@Autowired
	public void setClazzDao(ClazzDao clazzDao) {
		this.clazzDao = clazzDao;
		this.dao=this.clazzDao;
	}

}
